package com.css.gdzj.gdzjbxgd.modules.reportinfo.service;

import com.css.gdzj.gdzjbxgd.modules.reportinfo.repository.entity.BxgdReportInfoEntity;
import com.css.gdzj.gdzjbxgd.modules.reportinfo.repository.entity.BxgdReportInfoEntityVo;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * @author z
 * @date 2020-12-11
 */

public interface BxgdReportInfoService {

    public List<BxgdReportInfoEntity> queryBxgdReportInfos(String reportYear, Integer pageNo, Integer pageSize);

    public List<BxgdReportInfoEntity> queryBxgdReportInfosCount(String reportYear);

//    public List<Object> queryAllReportInfos(Map<String, String> params, Integer pageNo, Integer pageSize);

//    public List<Object> queryAllInfosCount(Map<String, String> params);

    public BxgdReportInfoEntityVo getBxgdReportInfo(String id);

    public BxgdReportInfoEntity saveBxgdReportInfo(BxgdReportInfoEntityVo bxgdReportInfoVo);

    public BxgdReportInfoEntity updateBxgdReportInfo(BxgdReportInfoEntityVo bxgdReportInfoVo);

    public void deleteBxgdReportInfos(List<String> ids);

    List<Object> queryAllReportInfos1(Map<String, String> params, Integer pageNo, Integer pageSize, Pageable pageable);

    /*public void exportExcel(BxgdReportInfoQueryParams queryParams, HttpServletResponse response);

    String uploadFile(MultipartFile file, HttpServletResponse response);*/

}
